const CONSTAPI = {
	//获取登录信息
	getLogin:{
		url:'/api/entry?path=user_login',
		method:'post'
	},
	//用户信息
	getUserNews:{
		url:"/api/entry?path=user_info",
		method:'post'
	},
	//上传头像
	getUploadHaer:{
		url:'/api/entry?path=upload_user_image',
		method:'post'
	},
	//修改昵称
	getUpdateName:{
		url:'/api/entry?path=user_update_nickname',
		method:'post'
	},
	//获取对话列表
	getHistory: {
		url: '/api/entry?path=user_dialog',
		method: 'post'
	},
	//创建新的对话
	postCreateChat:{
		url:'/api/entry?path=create_dialog',
		method: 'post'
	},
	//清空所有对话
	deleteAllChat:{
		url:'/api/entry?path=clear_dialog',
		method:'post'
	},
	//删除当前对话
	deleteThisChat:{
		url:'/api/entry?path=delete_dialog',
		method:'post'
	},
	//助手分类
	getZhushouType:{
		url:'/api/entry?path=app_category',
		method:'get'
	},
	// 助手列表
	getZhushouList:{
		url:'/api/entry?path=apps',
		method:'get'
	},
	// 用户作品列表
	getUserWorksList:{
		url:'/api/entry?path=user_works',
		method:'get'
	},
	//作品详情
	getUserWorkDetails:{
		url:'/api/entry?path=works_info',
		method:'get'
	},
	//AI生成封面
	getMakWorksImage:{
		url:'/api/entry?path=make_works_image',
		method:'post'
	},
	//上传图片封面
	getUploadImg:{
		url:'/api/entry?path=upload_image',
		method:'post'
	},
	//发布作品
	getWorkFabu:{
		url:'/api/entry?path=works_post',
		method:'post'
	},
	//删除作品
	getDeleteWork:{
		url:'/api/entry?path=work_delete',
		method:'post'
	},
	//社区列表
	getWorksList:{
		url:'/api/entry?path=works',
		method:'get'
	},
	// 用户点赞过的作品
	getUserLikeBefor:{
		url:'/api/entry?path=user_likes',
		method:'get'
	},
	//点赞作品
	getWorkLikeT:{
		url:'/api/entry?path=work_like',
		method:'post'
	},
	//取消点赞作品
	getWorkLikeF:{
		url:'/api/entry?path=work_cancel_like',
		method:'post'
	},
	//关注作者
	getUserFollow:{
		url:'/api/entry?path=user_follow',
		method:'post'
	},
	//取消关注作者
	getUserFollowF:{
		url:'/api/entry?path=user_cancel_follow',
		method:'post'
	},
	// 是否关注作者
	getIsUserFollow:{
		url:'/api/entry?path=user_follow_rel',
		method:'post'
	},
	// 用户协议
	getUserAgreement:{
		url:'/api/entry?path=user_agreement',
		method:'get'
	},
	//隐私协议
	getUserPrivacy:{
		url:'/api/entry?path=privacy_agreement',
		method:'get'
	},
	//企业介绍 
	getLtdIntroduce:{
		url:'/api/entry?path=ltd_introduce',
		method:'get'
	},
	//助手搜索
	getSearchList:{
		url:'/api/entry?path=app_search',
		method:'get'
	},
	//举报用户
	getUserReport:{
		url:'/api/entry?path=user_report',
		method:'post'
	},
	//搜索热词
	getHotKeywords:{
		url:'/api/entry?path=search_hot_keywords',
		method:'get'
	},
	//建议反馈
	getFankui:{
		url:'/api/entry?path=feedback',
		method:'post'
	},
	//用户签到
	getUserSign:{
		url:'/api/entry?path=user_sign',
		method:'post'
	},
	//能量记录
	getUserPointsList:{
		url:'/api/entry?path=user_points',
		method:'get'
	},
	//能量配置
	getUserPower:{
		url:'/api/entry?path=power_config',
		method:'get'
	},
	//我的关注
	getUserFollows:{
		url:'/api/entry?path=user_follows',
		method:'get'
	},
	//我的粉丝
	getUserFans:{
		url:'/api/entry?path=user_fans',
		method:'get'
	},
	//我的获赞
	getUserLikes:{
		url:'/api/entry?path=user_get_likes',
		method:'get'
	}
}

export default CONSTAPI
